﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Order_Module
{
    /// <summary>
    /// 订单表
    /// </summary>

    [Table("OrderModel")]
    public class OrderModel : AuditEntity
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderCode { get; set; }
        /// <summary>
        /// 下单人
        /// </summary>
        public string OrderSon { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int OrderState { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 下单商品
        /// </summary>
        public string OrderGoods { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public int Allmomeny { get; set; }
        /// <summary>
        /// 已到票金额
        /// </summary>
        public int Tomomeny { get; set; }
        /// <summary>
        /// 客户Id
        /// </summary>
        public long ClientId { get; set; }
        /// <summary>
        /// 是否引入了mes
        /// </summary>
        public bool IsOrder { get; set; }


    }
}
